<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="../nfwt.ico" />
    <script src="src/script/appImport.js?v=1"></script>
    <!--加载 axios -->
    <script src="https://unpkg.com/axios@0.26.1/dist/axios.min.js"></script>
    <!--加载 vue3 -->
    <script src="https://unpkg.com/vue@3.2.33/dist/vue.global.js"></script>
    <!--加载 vue-router -->
    <script src="https://unpkg.com/vue-router@4.0.14/dist/vue-router.global.js"></script>
    <!--加载 pinia -->
    <script src="https://unpkg.com/vue-demi@0.12.5/lib/index.iife.js"></script>
    <script src="https://unpkg.com/pinia@2.0.13/dist/pinia.iife.js"></script>
    <!--加载 element-plus -->
    <script src="https://unpkg.com/element-plus@2.1.9/dist/index.full.js"></script>
    <link href="https://unpkg.com/element-plus@2.1.9/dist/index.css" rel="stylesheet"/>
    <style>
      body {
        background-color:#f3e8d7;
      }
      #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: left;
        color: #2c3e50;
        background-color: #f5f2ed;
        margin: 0px;
      }
      .el-header{
        background-color: #959a9e;
        color: #f5f2ed;
        text-align: left;
      }
      .el-footer {
        background-color: #7e8285;
        color: #f5f2ed;
        text-align: left;
      }
      
      .el-aside {
        background-color: #f3e8d7;
        color: var(--el-text-color-primary);
        text-align: left;
        min-height: 700px;
      }
      
      .el-main {
        background-color: #f5f2ed;
        color: var(--el-text-color-primary);
        text-align: left;
        padding: 5px;
        min-height: 700px;
      }
    </style>

    <script type="text/javascript">
      // 假定 src在网站根目录
      let basrUrl = '/cdn3/src/' 
      // 判断所处网站，确定基础url
      switch (window.location.origin) {
        case 'https://naturefwvue.github.io': //github
        case 'https://naturefw-project.gitee.io': //gitee
          basrUrl = '/vue3-cnd/cdn3/src/'
          break
      }
      window.__ver = '?v=8' + new Date().valueOf()
      window.__basrUrl = basrUrl
  
    </script>

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>CDN 仿工程化项目</title>
    
  </head>
  <body>
    <div id="app">
      这里是CDN仿工程化开发的模板... 。
    </div>
    <script type="module" src="src/main.js"></script>
  </body>
</html>
